#include<stdio.h>
int  main()
{
	int  n;
	while(scanf("%d",&n)!=EOF)
	{
		int  flag=1;
		for(int  i=0;i<n;i++)
		{
			if(flag)
			{
				printf("HE  hate ");
				flag=0;
			}
			else
			{
				printf("HE  love ");
				flag=1;
			}
		if(i != n-1) 
		printf("that ");
		}
		printf("me\n");
	}
 } 
